﻿<UserControl
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" 
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
    mc:Ignorable="d" 
    xmlns:local="clr-namespace:UI.Controls" 
    x:Class="UI.Controls.AddLink"
    xmlns:debug="clr-namespace:System.Diagnostics;assembly=WindowsBase">
    
	<Grid VerticalAlignment="Top">
		<Grid.ColumnDefinitions>
			<ColumnDefinition Width="Auto" />
			<ColumnDefinition />
		</Grid.ColumnDefinitions>
		<Grid.RowDefinitions>
			<RowDefinition />
			<RowDefinition />
			<RowDefinition />
		</Grid.RowDefinitions>
		<Label Margin="0,0,-0.001,0" VerticalAlignment="Top" Content="URI:" d:LayoutOverrides="Width"/>
		<Label Margin="0,0,-0.001,0" VerticalAlignment="Top" Content="Description:" d:LayoutOverrides="Width" Grid.Row="1"/>
		<DockPanel Grid.Column="1">
			<Button Content="..." DockPanel.Dock="Right" Margin="0,0,8,4" MinWidth="20" />
			<TextBox TextWrapping="Wrap" BorderThickness="1" Margin="0,0,3,4" MinWidth="50" Text="{Binding Uri, debug:PresentationTraceSources.TraceLevel=High}"  />
		</DockPanel>
		<StackPanel Margin="0,0,-27.148,0" Grid.Row="1" Grid.Column="1"/>
		<TextBox TextWrapping="Wrap" d:LayoutOverrides="Width, Height" Grid.Row="1" Grid.Column="2" Text="{Binding Description, debug:PresentationTraceSources.TraceLevel=High}" />
		<local:AddCancel d:LayoutOverrides="Width, Height" Grid.Row="3" Grid.ColumnSpan="2" Margin="0,7,0,0" AddClicked="AddCancel_AddClicked" CancelClicked="AddCancel_CancelClicked" IsCancelClose="False" />
	</Grid>
</UserControl>
